{% extends 'index.html' %}

{% block pg-content %}
    <div class="row">
        <div class="container pull-left" style="width: 500px; left:300px">
            <div class="panel panel-info">
                <div class="panel-heading">学员信息</div>
                <div class="panel-body">
                    <table class="table table-hover">
                        <tr><td><div class="col-lg-3 text-right" >姓名:</div><div class="col-lg-2">{{ customer.name }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">qq:</div><div class="col-lg-2">{{ customer.qq }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">qq名:</div><div class="col-lg-2">{{ customer.qq_name }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">手机号:</div><div class="col-lg-2">{{ customer.phone }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">身份证号:</div><div class="col-lg-2">{{ customer.id_card }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">常用邮箱:</div><div class="col-lg-2">{{ customer.email}}</div></td></tr>
                    </table>
                </div>
            </div>
        </div>
    </div>


    <div class="row">
        <div class="container pull-left" style="width: 500px; left:300px">
            <div class="panel panel-info">
                <div class="panel-heading">报名信息</div>
                <div class="panel-body">
                    <table class="table table-hover">
                        <tr><td><div class="col-lg-3 text-right" >报名班级:</div><div class="col-lg-6">{{ enrollment.enrolled_class }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">课程顾问:</div><div class="col-lg-6">{{ enrollment.consultant.name }}</div></td></tr>
                        <tr><td><div class="col-lg-3 text-right">证件照:</div></td></tr>
                        {% for photo in photo_list %}
                            <tr><td><img src="{% url 'id_photo' enrollment.id photo %}" width="400px" height="200px"></td></tr>
                        {% endfor %}
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <a class="btn btn-danger col-lg-1" href="{% url 'enrollment_objection' enrollment.id %}">驳回</a>
        <a class="btn btn-success col-lg-1 col-lg-offset-4" href="{% url 'payment' enrollment.id %}">下一步</a>
    </div>
{% endblock %}